home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Compute! Gazette 1985 July
/
1985-07.d64
/
bent laser
(
.txt
)
< prev
next >
Wrap
Commodore BASIC
|
2022-09-20
|
325b
|
12 lines
5 print"[147]"
10 forl=54272to54295:pokel,0:next:poke54296,15
20 poke54277,8:poke54278,255:poke54276,23
30 forz=1to3:f1=2:rem no. of cycles
40 fory=1to3:f2=8:rem ratio of lengths
50 poke54273,f1:rem main frequency
60 forx=1to5:poke54287,f2:rem pitch
70 f2=f2*1.4:nextx:f1=f1*1.5:nexty:rem pitch
80 forw=1to10:poke54287,f2:rem w is top pitch
90 f2=f2*1.05:nextw:nextz:poke54278,15
95 list